﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterTalentsSchema

    Public Class pet

        Private intCatID As Integer
        Private strFamily As String
        Private intFamilyID As Integer
        Private strIcon As String
        Private intLevel As Integer
        Private strName As String
        Private intNPCID As Integer
        Private strNPCName As String
        Private tgTalentGroup As New List(Of talentGroup)

        <XmlAttribute()> Public Property catId() As Integer
            Get
                Return intCatID
            End Get
            Set(ByVal value As Integer)
                intCatID = value
            End Set
        End Property

        <XmlAttribute()> Public Property family() As String
            Get
                Return strFamily
            End Get
            Set(ByVal value As String)
                strFamily = value
            End Set
        End Property

        <XmlAttribute()> Public Property familyId() As Integer
            Get
                Return intFamilyID
            End Get
            Set(ByVal value As Integer)
                intFamilyID = value
            End Set
        End Property

        <XmlAttribute()> Public Property icon() As String
            Get
                Return strIcon
            End Get
            Set(ByVal value As String)
                strIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property level() As Integer
            Get
                Return intLevel
            End Get
            Set(ByVal value As Integer)
                intLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property npcId() As Integer
            Get
                Return intNPCID
            End Get
            Set(ByVal value As Integer)
                intNPCID = value
            End Set
        End Property

        <XmlAttribute()> Public Property npcName() As String
            Get
                Return strNPCName
            End Get
            Set(ByVal value As String)
                strNPCName = value
            End Set
        End Property

        <XmlElement()> Public Property talentGroup() As List(Of talentGroup)
            Get
                Return tgTalentGroup
            End Get
            Set(ByVal value As List(Of talentGroup))
                tgTalentGroup = value
            End Set
        End Property

    End Class

End Namespace